<?php

namespace Modules\Edu\Http\Controllers\Center;

use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use Modules\Edu\Entities\User;

class FanController extends Controller
{
    /**
     * Display a listing of the resource.
     * @return Response
     */
    public function index(User $user)
    {
        $fans=$user->fans()->paginate();
        return view('edu::center.fan',compact('user','fans'));
    }


}
